package com.wyg.epdata.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wyg.epdata.entity.ArticleKw;
import com.wyg.epdata.entity.dto.KwCountDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author WangYongGan
 * @since 2021-11-11
 */
public interface ArticleKwMapper extends BaseMapper<ArticleKw> {
    List<KwCountDTO> getNKwByEntity(@Param("entity") String entity, @Param("n") int n);

    List<String> getNKw(int n);
}
